Ruby Code Generator

Java Dwarf Manager was previously (re)implemented using a XML Code Generator written in Python. There an XML description of the desired classes and mappings to database tables was used to generate Java beans and SQL queries. In this version the SQL schema (list of create table statements) is parsed and used to generate EJB CMP 2.0 Entity Beans and XML deployment descriptors for EJB Dwarf Manager. The Ruby programming language, with it's built-in support for regular expressions, is ideally suited to processing the SQL schema file.

Generated Files: Currently the XML deployment descriptors are fragments, since the Stateless Session Bean Facade portion of the application is not being generated. A further extension would be to describe the SSBF interfaces and Entity bean mappings in an XML file, much like what was previously done in Python.